package com.javaxiaobang.dao;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 功    能：
 * 作    者：tianqiang
 * 时    间：2019/11/13
 */
@Repository
public interface PoDictionaryMapper {

//    @Select("select * from po_dictionary order by rand() limit 1 ")
    @Select("select * from po_dictionary limit 1 ")
    List<Map<String, Object>> getDictList();


    @Select("select * from po_dictionary limit 1 ")
    Map<String, Object> getDictMap();

}
